WaitUntilVisible<T>(T) Method
Waits until the test object becomes visible or the timeout elapses. This method is useful for synchronizing your test with your application.
Remarks
This overload uses a 20 second timeout.

C# Syntax

[Extension()]
public static bool WaitUntilVisible<T>( 
   this T visibleProvider
)
where T: IVisibleProvider

Parameters

testObject
The test object to wait for until it becomes visible.

Type Parameters

T
A class implementing IVisibleProvider

Return Value

True if the test object is visible before the timeout is reached; otherwise, false.